package com.ocom.common.request.web;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EditPayChannelRequest {
	@NotNull
	Integer id;
	@NotBlank(message = "name 不能为空")
	String name;
	@NotBlank(message = "code 不能为空")
	Integer code;
	@NotBlank(message = "params 不能为空")
	String params;
	@NotBlank(message = "url 不能为空")
	String url;
	@NotBlank(message = "key 不能为空")
	String key;
	String remark="";
}
